{% extends 'base.html' %}

{% block title %}改掉那个丑不拉几的名字{% endblock %}

{% block content %}
<div class="ui container">
	<br/>
	<form action="{% url 'login:rename' %}"
					method="post" class="ui form">
	{% csrf_token %}
	<fieldset>
		<legend><h1>改名</h1></legend>
		{{ rename_form.media }}
		{{ rename_form.as_p }}
	</fieldset>

	<br/>
	<button type="submit" class="ui button">更改你的名字</button>
	</form>
	<br/>
	<div class="errorlist">
		<p class="text-danger">{{ errmsg }}</p>
	</div>
	<br/>
</div>
{% endblock %}